package com.food.eat.pojo.vo;

import java.util.List;

/**
 * @Author:RenPu
 * @Date: 2020/7/21 11:13
 * @Version: 1.0
 * @description:封装二级分类的vo;
 */
public class CategoryVo {
    private String id;
    private String name;
    private String type;
    private Integer fatherId;
    private List<SubCatgoryVo> subCatList;

    public CategoryVo() {
    }

    public CategoryVo(String id, String name, String type, Integer fatherId, List<SubCatgoryVo> subCatList) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.fatherId = fatherId;
        this.subCatList = subCatList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public List<SubCatgoryVo> getSubCatList() {
        return subCatList;
    }

    public void setSubCatList(List<SubCatgoryVo> subCatList) {
        this.subCatList = subCatList;
    }
}
